// 用户
const userData = [{
        "series": [{
            "color": "#24ABFD",
            "data": 0.18,
            "index": 0,
            "legendShape": "circle",
            "name": "新增率/日",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar"
        }]
    },
    {
        "series": [{
            "color": "#F04864",
            "data": 0.25,
            "index": 0,
            "legendShape": "circle",
            "name": "流失率/日",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar"
        }]
    }
]
const historyData = {
    "categories": [
        "24号",
        "25号",
        "26号",
        "27号",
        "28号",
        "29号",
        "30号",
    ],
    "series": [{
        "name": "访问用户/人",
        "data": [1201, 2501, 985, 1760, 2013.85, 1201, 2501],
        "type": "line",
        "style": "curve",
        "color": "#4ECDB6",
        "unit": ""
    }],
    "yAxis": [{
        "calibration": true,
        "position": "left",
        "title": "单位/元",
        "titleFontSize": 12,
        "unit": "",
        "tofix": 0,
        "min": 0,
        "disableGrid": true
    }]
}

// 金额统计
const amountData = {
    "categories": [
        "24号",
        "25号",
        "26号",
        "27号",
        "28号",
        "29号",
        "30号",
    ],
    "series": [{
        "name": "单日收益/元",
        "data": [2020, 3500, 1000, 800, 10000, 6000, 1000],
        "type": "line",
        "style": "curve",
        "color": "#f82727",
        "unit": ""
    }],
    "yAxis": [{
        "calibration": true,
        "position": "left",
        "title": "单位/元",
        "titleFontSize": 12,
        "unit": "",
        "tofix": 0,
        "min": 0,
        "disableGrid": true
    }]
}

const moneyData = [{
        "series": [{
            "color": "#fff",
            "data": 0.224,
            "precent": "22.4%",
            "index": 0,
            "legendShape": "circle",
            "name": "线上收益",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar",
            "value": "12786",
            "backgroundColor": "#00AEF9"
        }]
    },
    {
        "series": [{
            "color": "#fff",
            "data": 0.3717,
            "precent": "37.17%",
            "index": 0,
            "legendShape": "circle",
            "name": "线下收益",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar",
            "value": "1096",
            "backgroundColor": "#F55676"
        }]
    },
    {
        "series": [{
            "color": "#fff",
            "data": 0,
            "precent": "0%",
            "index": 0,
            "legendShape": "circle",
            "name": "今日退款",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar",
            "value": "0",
            "backgroundColor": "#FAB215"
        }]
    },
    {
        "series": [{
            "color": "#fff",
            "data": 0.6321,
            "precent": "63.21%",
            "index": 0,
            "legendShape": "circle",
            "name": "今日物损",
            "pointShape": "circle",
            "show": true,
            "type": "arcbar",
            "value": "173",
            "backgroundColor": "#2EC693"
        }]
    }
]


// 商品统计
const goodsData=[
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"1800","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"商品总销量","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"1960","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"商品待补货","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"36050","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"商品报损量","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	}
]
const goods_sales = {
    "categories": [
        "大白菜",
        "黄牛肉",
        "西红柿",
        "鸡蛋",
        "明虾",
        "海参",
        "螃蟹"
    ],
    "series": [{
        "name": "商品销量/kg",
        "data": [{
                "value": 6,
                "color": "#24ABFD"
            },
            {
                "value": 10,
                "color": "#24ABFD"
            },
            {
                "value": 12,
                "color": "#24ABFD"
            },
            {
                "value": 8,
                "color": "#24ABFD"
            },
            {
                "value": 6,
                "color": "#24ABFD"
            }

        ],
        "type": "column",
        "color": "#24ABFD",
        "unit": "kg"
    }]
}
const singelGoods_sales={
                    "categories": [
                        "1月11",
                        "1月12",
                        "1月13",
                        "1月14",
                        "1月15",
                        "1月16",
                        "1月17",
                        
                    ],
                    "series": [{
                            "name": "9月份销量",
                            "data": [{
                                    "value": 1800,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1300,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1580,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1600,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1600,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1600,
                                    "color": "#24ABFD"
                                },
                                {
                                    "value": 1300,
                                    "color": "#24ABFD"
                                }
                            ],
                            "type": "column",
                            "color": "#24ABFD",
                            "unit": ""
                        },
                        {
                            "name": "10月份销量",
                            "data": [{
                                    "value": 1580,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 850,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 1100,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 1400,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 1200,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 980,
                                    "color": "#6BC588"
                                },
                                {
                                    "value": 560,
                                    "color": "#6BC588"
                                }
                            ],
                            "type": "column",
                            "color": "#6BC588",
                            "unit": ""
                        }
                    ]
                }
const goods_count=[
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"42%","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"当前库存","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"库存预警","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"当前库存低于10%","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
]
const goods_comments=[
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"88%","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"好评率","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
	{
		"kind":1,
		"background":["#B678FD","#4A64F9"],
		"content":[
			{"text":"","value":"888","colortext":"","colorvalue":"#fff","size":"44rpx"},
			{"text":"当月评价总数","value":"","colortext":"#fff","colorvalue":"","size":"24rpx"}
		]
	},
]
//订单
const orderCountData = [{
        "kind": 4,
        "background": ["#0081ff", "#1cbbb4"],
        "content": [{
                "text": "完成订单",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "24rpx"
            },
            {
                "text": "",
                "value": "161",
                "colortext": "",
                "colorvalue": "#fff",
                "size": "44rpx"
            },
            {
                "text": "增长",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "20rpx"
            },
            {
                "text": "up",
                "value": "325",
                "colortext": "#fff",
                "colorvalue": "#fff",
                "size": "20rpx"
            }
        ]
    },
    {
        "kind": 4,
        "background": ["#0081ff", "#1cbbb4"],
        "content": [{
                "text": "预定订单",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "24rpx"
            },
            {
                "text": "",
                "value": "82",
                "colortext": "",
                "colorvalue": "#fff",
                "size": "44rpx"
            },
            {
                "text": "增长",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "20rpx"
            },
            {
                "text": "up",
                "value": "0.7",
                "colortext": "#fff",
                "colorvalue": "#fff",
                "size": "20rpx"
            }
        ]
    },
    {
        "kind": 4,
        "background": ["#0081ff", "#1cbbb4"],
        "content": [{
                "text": "申请退款",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "24rpx"
            },
            {
                "text": "",
                "value": "161",
                "colortext": "",
                "colorvalue": "#fff",
                "size": "44rpx"
            },
            {
                "text": "增长",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "20rpx"
            },
            {
                "text": "down",
                "value": "1.2%",
                "colortext": "#fff",
                "colorvalue": "#fff",
                "size": "20rpx"
            }
        ]
    },
    {
        "kind": 4,
        "background": ["#0081ff", "#1cbbb4"],
    	   "content": [{
                "text": "评价订单",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "24rpx"
            },
            {
                "text": "",
                "value": "161",
                "colortext": "",
                "colorvalue": "#fff",
                "size": "44rpx"
            },
            {
                "text": "增长",
                "value": "",
                "colortext": "#fff",
                "colorvalue": "",
                "size": "20rpx"
            },
            {
                "text": "down",
                "value": "1.2%",
                "colortext": "#fff",
                "colorvalue": "#fff",
                "size": "20rpx"
            }
        ]
    }
]
const orderData = {
    "categories": [
        "24号",
        "25号",
        "26号",
        "27号",
        "28号",
        "29号",
        "30号",
    ],
    "series": [{
        "name": "订单总数/单",
        "data": [12, 20, 33, 100, 180, 200, 160],
        "type": "line",
        "style": "curve",
        "color": "#55ff00",
        "unit": ""
    }],
    "yAxis": [{
        "calibration": true,
        "position": "left",
        "title": "单位/元",
        "titleFontSize": 12,
        "unit": "",
        "tofix": 0,
        "min": 0,
        "disableGrid": true
    }]
}
export default {
    amountData,
    historyData,
    goods_sales,
    orderData,
    moneyData,
    userData,
    orderCountData,
    goodsData,
    singelGoods_sales,
    goods_count,
    goods_comments
}
